package sctu.edu.java.year2016.team05.zengkun.day20160523.chapter3_3;

/**
 * Created by mike on 2016/5/23.
 * 编写java程序，声明两个变量并赋值38.9和27.2作为矩形的长和宽，求出该矩形的面积
 */
public class LittlePragram3 {
    public static void main(String[] args){
        float a=38.9f;
        float b=27.2f;
        System.out.println("矩形的面积为："+2*(a+b));
    }
}
